package com.ksd.web.controller.process;

/**
 * 任务状态枚举
 */
public enum ProcessStatusEnum {
    INIT("INIT", "初始化中"),
    PROCESSING("PROCESSING", "处理中"),
    COMPLETED("COMPLETED", "处理完成"),
    FAILED("FAILED", "处理失败");

    private final String code;
    private final String desc;

    ProcessStatusEnum(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    // getter
    public String getCode() { return code; }
    public String getDesc() { return desc; }
}
